package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ConditionInformationItem {

    private int beginInex;
    private int endIndex;
    private SimpleTargetSpecification simpleTargetSpecification;
    private ConditionInformationItemName conditionInformationItemName;

    public ConditionInformationItem(SimpleTargetSpecification simpleTargetSpecification,
                                    ConditionInformationItemName conditionInformationItemName) {
        this.beginInex = simpleTargetSpecification.getBeginIndex();
        this.endIndex = conditionInformationItemName.getEndIndex();
        this.simpleTargetSpecification = simpleTargetSpecification;
        this.conditionInformationItemName = conditionInformationItemName;
    }

    public int getBeginInex() {
        return beginInex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SimpleTargetSpecification getSimpleTargetSpecification() {
        return simpleTargetSpecification;
    }

    public ConditionInformationItemName getConditionInformationItemName() {
        return conditionInformationItemName;
    }

}
